package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
@Data
@TableName(value = "`role`")
public class Role {
    @TableId(value = "role_id", type = IdType.INPUT)
    private Integer roleId;

    /**
     * 角色名称
     */
    @TableField(value = "role_name")
    private String roleName;

    /**
     * 角色说明
     */
    @TableField(value = "role_declare")
    private String roleDeclare;

    /**
     * 状态 1可用，0不可用
     */
    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_ROLE_ID = "role_id";

    public static final String COL_ROLE_NAME = "role_name";

    public static final String COL_ROLE_DECLARE = "role_declare";

    public static final String COL_STATUS = "status";
}